home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD005b.dsk
/
EMILS'.PDL.TABLET.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
2KB
|
46 lines
10 REM <CTRL-J><CTRL-J><CTRL-J><CTRL-J><CTRL-J> AN EMIL PROGRAM <CTRL-J><CTRL-J><CTRL-J><CTRL-J><CTRL-J>
100 LOMEM: 16384
110 BU = 49249:KB = 49152
120 T1 = 1:X1 = 279/255:Y1 = 191/255:T = 49234
130 HOME : TEXT : HGR
140 GOSUB 500:ZZ = 0
150 INPUT "WHAT BACKGROUND COLOR ";BC: HCOLOR= BC: HPLOT 0,0
160 CALL 62454
170 GOSUB 500
180 INPUT "COLOR ";CL: HCOLOR= CL
190 IF ZZ = 0 THEN ZZ = 1: GOTO 480
200 HOME : VTAB 24: PRINT "TO STOP TYPE =S="
210 PRINT "TYPE =T= TO TOGGLE SCREEN"
220 A = PDL(1):B = PDL(0)
230 X = INT(A *X1): IF X >279 -P THEN X = 279 -P
240 Y = INT(B *Y1): IF Y >191 -P1 THEN Y = 191 -P1
250 IF PEEK(KB) >127 THEN 330
260 IF PEEK(BU) <128 THEN 290
270 FOR G = 0 TO P1: HPLOT X,Y +G TO X +P,Y +G: NEXT
280 GOTO 220
290 HPLOT X,Y
300 HCOLOR= BC: HPLOT XO,YO:XO = X:YO = Y
310 HCOLOR= CL
320 GOTO 220
330 GET Z$: IF Z$ < >"S" THEN 440
340 POKE T +1,0
350 PRINT "=A= CHANGE COLOR =E= CHANGE PIXELL SIZE";: PRINT "=B= CHANGE PIC.": PRINT "=C= SAVE PIC."
360 PRINT "=D= EXIT PROGRAM ........ WHICH?";
370 GET Z$:Z = ASC(Z$) -64: IF Z <1 OR Z >5 THEN 370
380 : HOME : VTAB 24
390 ON Z GOTO 170,140,410,400,480
400 END
410 INPUT "PIC.NUMBER ";Z
420 PRINT : PRINT "<CTRL-D>BSAVE PIC."Z;",A$2000,L$2000"
430 GOTO 200
440 IF Z$ < >"T" THEN 220
450 IF T1 = 1 THEN T1 = 0: GOTO 470
460 T1 = 1
470 POKE T +T1,0: GOTO 220
480 PRINT : INPUT "PIXELL SIZE (X BY Y)?";P,P1
490 P = ABS(P -1):P1 = ABS(P1 -1): GOTO 200
500 PRINT " COLORS"
510 PRINT "=0=BLACK =1=GREEN =2=VIOLET =3=WHITE"
520 PRINT "=4=BLACK =5=RED =6=BLUE =7=WHITE"
530 RETURN
600 REM <CTRL-J>5 FEB 1982 @<CTRL-J>